<?php
include_once 'library/Entity/BaseEntity.php';
class News extends BaseEntity{
	const ID = 'id';
	const NAME = 'name';
	const DESCRIPTION = 'description';
	const DETAILS = 'details';
	const NEWSCAT = 'newscat';
	const IMAGE = 'image';
	const HIT = 'hit';
	const ORDINAL = 'ordinal';
	const CATNAME = 'catname';
	
	/**
	 * Primarykey column.
	 * @var array
	 */
	public $pkey = array(News::ID);
	/**
	 * Auto Increment column.
	 * @var string
	 */
	public $sequence = News::ID;
	/**
	 * Unique column.
	 * @var array
	 */
	public $unique = array(News::NAME);
	
	
}